﻿@{
    ViewBag.Title = "Login";
}
<style>
    #lbl {
        display: inline-block;
        width: 155px;
        text-align: left;
    }
    #error {
        color: red;
    }
   
</style>

<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>

<div style="padding-top:220px">
<h2>Login</h2>

<p id="error">@ViewBag.mensaje</p>

<form id="formLogin" action="@Url.Action("Logginator", "Account")" method="post">
    <label id="lbl">
        <span>Usuario:</span>
        <input id="user" type="text" name="user" required="required" />
        <br />
        <span>Contraseña:</span>
        <input id="pass" type="password" name="pass" required="required" />
    </label><br />
    <label>
        <input type="checkbox" name="check" value="true" />
        <span id="recordarme">Recordarme</span>
    </label><br />
    <input id="ing" type="submit" value="Ingresar" />
</form>
    </div>